import { Mod } from "./mod";

//自定义的实现配置
const listenerContainer: Record<string, any> = {};

listenerContainer["1"] = Mod;

const register = (modId: string, modListener: any) => {
  listenerContainer[modId] = modListener;
};

const getListener = (modId: string) => {
  return listenerContainer[modId];
};

export { register, getListener };
